<?php if (!defined('THINK_PATH')) exit(); echo $loginscript ?>
<script>
location.href='<?php echo U("index/index") ;?>';
</script>